﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

using Domain.Model;

using Domain.Model.Abstract;


namespace Presentation.Models
{
    public class ProjectViewModel
    {
        #region Models

        public Form Form { get; set;}

        public Project Project { get; set; }

        public List<SelectListItem> StatusItems = new List<SelectListItem> 
        {
            new SelectListItem {Selected = true, Text = "Red", Value = ProjectItemStatus.STATUS_RED},
            new SelectListItem {Selected = true, Text = "Orange", Value = ProjectItemStatus.STATUS_ORANGE},
            new SelectListItem {Selected = true, Text = "Green", Value = ProjectItemStatus.STATUS_GREEN}
        };

        public ProjectTask Task { get; set; }

        public int ProgramId { get; set; }
        public string errmsg { get; set; }
        public int errindex { get; set; }
        public ProjectViewModel()
        {
            ProgramId = 0;
        }

        #endregion
    }
}